package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserHonorLevelDao;
import com.frogs.ucenter.entity.UserHonorLevel;
import com.frogs.ucenter.service.UserHonorLevelService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userHonorLevelService")
public class UserHonorLevelServiceImpl extends BaseServiceImpl<UserHonorLevel> implements UserHonorLevelService {
    @Autowired
    private UserHonorLevelDao userHonorLevelDao;

    public UserHonorLevelServiceImpl() {
        super();
    }

    public UserHonorLevelDao getUserHonorLevelDao() {
        return userHonorLevelDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserHonorLevel> getBaseDao() {
        return userHonorLevelDao;
    }

    public void setUserHonorLevelDao(UserHonorLevelDao userHonorLevelDao) {
        this.userHonorLevelDao = userHonorLevelDao;
    }
}